<style type="text/css">
    
    .fieldlist_vicky4 dd {
  display: block;
  margin: 5px 0;
}

.fieldlist_vicky4 dd input:nth-child(1) {
  margin-right: 32px;
}
.fieldlist_vicky4 dd input:nth-child(2) {
  margin-right: 35px;
}
.fieldlist_vicky4 dd input:nth-child(6) {
  margin-right: 40px;
}
.fieldlist_vicky4 dd input:nth-child(7) {
  margin-right: 40px;
}
.fieldlist_vicky4 dd>input{
  width: 70px;
  margin-right: 30px;
}

.fieldlist_vicky4 dd ins {
  width: 110px;
  display: inline-block;
  text-decoration: none;
  font-weight: bold;
}
</style>
<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-name" data-rule="required" class="form-control" name="row[name]" type="text" value="{$row.name|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Image')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-image" class="form-control" size="50" name="row[image]" type="text" value="{$row.image|htmlentities}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="plupload-image" class="btn btn-danger plupload" data-input-id="c-image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-image" class="btn btn-primary fachoose" data-input-id="c-image" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-image"></span>
            </div>
            <ul class="row list-inline plupload-preview" id="p-image"></ul>
        </div>
    </div>
  
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Out_price')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-out_price" class="form-control" step="0.01" name="row[out_price]" type="number" value="{$row.out_price|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Get_level')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-get_level" class="form-control" name="row[get_level]" type="number" value="{$row.get_level|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Get_level_num')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-get_level_num" class="form-control" name="row[get_level_num]" type="number" value="{$row.get_level_num|htmlentities}">
        </div>
    </div>
 
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Destination_json')}:</label>
        <div class="col-xs-12 col-sm-8">
            <dl class="fieldlist_vicky4" data-name="row[destination_json]">
                <dd>
                    <ins>收成需要多少能量值（单位小时）:</ins>
                    <ins>收成斤数:</ins>
                </dd>
                <dd><a href="javascript:;" class="btn btn-sm btn-success btn-append"><i class="fa fa-plus"></i> {:__('Append')}</a></dd>
                <textarea name="row[destination_json]" class="form-control hide" cols="30" rows="5">{$row.destination_json}</textarea>
            </dl>
        </div>
    </div> 
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Text')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-text" class="form-control" name="row[text]" type="text" value="{$row.text|htmlentities}">
        </div>
    </div>

    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
